change x by () | |
change x by (10) | |
Category | Motion |
Type | Command |
This block is used to move a Sprite on the x-axis left or right.
This block can only be used on Sprites. Attempting to use this block on the Stage will result in an error.
To use this block on the Stage, you must use a tell block. tell [Sprite V] to ({change x by (10)} @addInput) @addInput
To use this block on a Sprite, drag it into the development area. Inputting a positive number will make the Sprite move to the right. A negative number will do the inverse and make the Sprite move left.